package com.cosina.game.robodefence.util;


public abstract class UpTime implements Time {
	private final UpCount upClock;
	
	public UpTime(int cycleValue){
		this.upClock = new UpCount(cycleValue);
	}
	
	
	@Override
	public final void withTimeGo() {
		if(upClock.upToAlram()){
			withUpTimeGo();
		}
	}
	
	public abstract void withUpTimeGo();
}
